package com.ctos.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ctos.common.Result;
import com.ctos.dto.SetmealDto;
import com.ctos.entity.Setmeal;
import com.ctos.entity.SetmealDish;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    Result<Page<SetmealDto>> setmealPage(Integer page, Integer pageSize, String name);

    void saveSetmealDto(SetmealDto setmealDto);

    SetmealDto getSetmealDto(Long id);

    void updateDishAndDishFlavor(SetmealDto setmealDto);

    void delete(Long[] ids);

    Result<String> modifyStatus(Integer status, Long[] ids);

    List<Setmeal> getSetmealList(Long categoryId);

    List<SetmealDish> getSetmealDish(Long setmealId );
}
